package com.lm.service.impl;

import com.lm.dao.LmTrackEventDao;
import com.lm.model.CountData;
import com.lm.model.LmTrackEvent;
import com.lm.service.LmUpdateService;
import com.meirengu.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class LmUpdateServiceImpl extends BaseServiceImpl<LmTrackEvent> implements LmUpdateService {

    @Autowired
    LmTrackEventDao lmTrackEventDao;

    @Override
    public List<LmTrackEvent> getAll() {
        return lmTrackEventDao.getAll();
    }

    @Override
    public CountData getCount1(Map<String, Object> params) {
        return lmTrackEventDao.getCount1(params);
    }

    @Override
    public int updateTrackEvent(Map<String, Object> params) {
        return lmTrackEventDao.updateTrackEvent(params);
    }

}
